/*
 * @Author: caozaihui 15908754730@163.com
 * @Date: 2024-06-14 00:47:40
 * @LastEditors: caozaihui 15908754730@163.com
 * @LastEditTime: 2024-06-20 19:34:09
 * @FilePath: \YMU_forum\src\apis\home.js
 * @Description: 首页api
 */


import httpInstance from "@/utils/http";

// 热度排序
export function getIndexHot(){
    return httpInstance({
        url:'/api/index/hot',
        method:'get',
    })
}

// 时间排序
export function getIndexTime(){
    return httpInstance({
        url:'/api/index/time',
        method:'get',
    })
}